package conexao;

import java.sql.Connection;
import exceptions.ConexaoException;
import exceptions.ModelException;

public interface Conexao {
    public Connection conectar() throws ConexaoException;
    public void desconectar(Connection c) throws ConexaoException;
    public int ultimoCodigo(String nomeTabela) throws ConexaoException, ModelException;
}
